package cn.itcast.service.cargo;

import cn.itcast.domain.ResultInfo;
import cn.itcast.domain.cargo.PackingList;
import cn.itcast.domain.cargo.ShippingOrder;
import com.github.pagehelper.PageInfo;

public interface ShippingOrderService {
    void save(ShippingOrder shippingOrder);

    PageInfo<ShippingOrder> findByPage(Integer pageNum, Integer pageSize, String loginUserCompanyId);

    ResultInfo delete(String shippingOrderId);

    ResultInfo invoice(String shippingOrderId);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    ShippingOrder findById(String id);

}
